<!DOCTYPE html>
<html lang="en">

  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Title and other stuffs -->
    <title>
      Snail测试平台
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="">
    {% load static %}
    <link rel="icon" href="{% static "favicon.ico" %}" type="image/x-icon" />
    <!-- Bootstrap -->
    <link href="{% static "assets/bootstrap-3.3.7-dist/css/bootstrap.min.css" %}" rel="stylesheet">
    <link href="{% static "intest/css/bootstrap-select.css" %}" rel="stylesheet">
    <!--link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"-->
    <link href="{% static "new_template/vendors/font-awesome/css/font-awesome.min.css" %}" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="{% static "new_template/build/css/custom.min.css" %}" rel="stylesheet">
    {% block css %}{% endblock %}
    <script src="{% static "assets/js/jquery.min.js" %}">
    </script>
    <!-- Bootstrap -->
    <script src="{% static "assets/bootstrap-3.3.7-dist/js/bootstrap.min.js" %}"></script>
    <script src="{% static "intest/js/bootstrap-select.js" %}"></script>

  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <!-- Main content starts -->
        <div class="content">
          <!-- Sidebar -->
          <div class="col-md-3 left_col">
            <div class="left_col scroll-view">
              <div class="navbar nav_title" style="border: 0;">
                <a href="/index/" class="site_title">
{#                  <i class="fa fa-cloud">#}
{#                  </i>#}
                      <img src="{% static "assets/img/logo_bai.png" %}" alt="welcom" style="position: absolute; top:30px; width: 200px">
{#                 Snail UiManager#}
                </a>
              </div>
              <div class="clearfix">
              </div>
              <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                <div class="menu_section active">
                  <br><br>
                  <h3>
                    基本信息
                  </h3>
                  <ul class="nav side-menu" style="">
                    <li>
                      <a>
                        <i class="fa fa-list">
                        </i>
                        项目管理
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/project_list">
                            项目列表
                          </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a>
                        <i class="fa fa-columns">
                        </i>
                        页面管理
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/page_list/">
                            页面列表
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/element_list/">
                            元素列表
                          </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a>
                        <i class="fa fa-file-text">
                        </i>
                        用例管理
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/case_list/">
                            用例列表
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/add_case/">
                            新增用例
                          </a>
                        </li>
                      </ul>
                    </li>
                  </ul>
                    <br>
                  <h3>
                    运行配置
                  </h3>
                  <ul class="nav side-menu" style="">
                    <li>
                      <a>
                        <i class="fa fa-align-left">
                        </i>
                        测试计划
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/suite_list/">
                            套件管理
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/task_list/">
                            任务管理
                          </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a>
                        <i class="fa fa-globe">
                        </i>
                        全局设置
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/env_list/">
                            环境管理
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/debugtalk/">
                            debugtalk
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/resource_list/">
                            资源管理
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/device/">
                            设备管理
                          </a>
                        </li>
                        <li class="current-page">
                          <a href="/ui/edit_system_settings/">
                            系统设置
                          </a>
                        </li>
                      </ul>
                    </li>
                  </ul>
                    <br>
                  <h3>
                    运行信息
                  </h3>
                  <ul class="nav side-menu" style="">
                    <li>
                      <a>
                        <i class="fa fa-bug">
                        </i>
                        报告管理
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/report_list/">
                            报告列表
                          </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a>
                        <i class="fa fa-history">
                        </i>
                        日志管理
                        <span class="fa fa-chevron-down">
                        </span>
                      </a>
                      <ul class="nav child_menu">
                        <li class="current-page">
                          <a href="/ui/run_log_list/">
                            运行日志
                          </a>
                        </li>
                      </ul>
                    </li>
                  </ul>
                  <br>
                </div>
              </div>
            </div>
          </div>
          <div class="top_nav">
            <div class="nav_menu">
              <nav>
                <div class="nav toggle">
                  <a style="color: whitesmoke" id="menu_toggle">
                    <i class="fa fa-bars">
                    </i>
                  </a>
                </div>
                <div>
                  <span class="nav toggle" style="color: whitesmoke;width: 400px;font-size: 20px">
                    当前版本：V1.0
                    <a style="color: lawngreen;font-size: 14px;" href="/ui/index">
                      首页
                    </a>
                    <a style="color: whitesmoke;font-size: 12px;" href="/index">
                      其它平台
                    </a>
                  </span>
                </div>
                <ul class="nav navbar-nav navbar-right">
                  <li class="">
                    <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        <span class="fa fa-user fa-lg">
                      </span>
                        <b>{{ username }}</b>
                      <span class=" fa fa-angle-down">
                      </span>
                    </a>
                    <ul class="dropdown-menu dropdown-usermenu pull-right">
                      <li>
                        <a href="/log_out/">
                          <i class="fa fa-sign-out pull-right">
                          </i>
                          退出登录
                        </a>
                      </li>
                    </ul>
                  </li>
                </ul>
              </nav>
            </div>
          </div>
          <!-- Sidebar ends -->
          <div class="right_col" role="main" style="min-height: 1657px;">
            <div class="">
              <div class="page-title">
                <div class="title">
                  <div class="col-lg-12 pull-right top_search" style="padding: 10px">
                      <span class="fa fa-flag fa-lg" style="font-size: 18px;font-weight: bold; color: grey;">
                        {% block title %}{% endblock %}
                      </span>
                    &nbsp;
                    {% block new %}{% endblock %}
                    {% block location %}{% endblock %}
                  </div>
                </div>
              </div>
              {% block content %}{% endblock %}
              <!-- 使用blok来空出子页面需要填充的内容 -->
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
  <footer>
    <div align="center">
      <p class="copy" align="center">
        北京掌众金融信息服务有限公司Copyright&copy;
        <a href="https://www.weshare.com.cn/" target="_blank">
          Snail
        </a>
        掌你所需 众享美好
      </p>
    </div>
  </footer>
  <!-- Custom Theme Scripts -->
  {% block js %}{% endblock %}
  <script src="{% static "intest/js/custom.js" %}"></script>
</html>